package com.py.credit.service.excel.read.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

import org.apache.poi.ss.usermodel.Sheet;

import com.py.credit.entity.Column;

public interface ExcelReadService {
	List<Map<String, Object>> readExcelData(int start, int end, Sheet st, String batchId, List<Column> listMetrics)
			throws IOException;

	Map<String, Object> readExcelFileHead(Sheet st, String batchId, List<Column> columns) throws FileNotFoundException;

	Sheet readExcelFileForSheet(String filePath) throws IOException;

	Sheet readExcelFileForSheet(InputStream inputStream) throws IOException;

	/**
	 * @param start
	 * @param end
	 * @param st
	 * @return
	 */
	List<Map<String, Object>> readExcelData(int start, int end, Sheet st);
}
